home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The CICA Windows Explosion!
/
The CICA Windows Explosion! - Disc 2.iso
/
programr
/
qdhelp.zip
/
QDHLPSRC.ZIP
/
TEXT.QDH
< prev
next >
Wrap
Text File
|
1994-03-28
|
4KB
|
130 lines
//
// text command
//
/topic TEXT_COMMAND
/title The /text command
/keywords /text;commands
/browse paracom,AUTO
/para \sa300\b\i\fs40,The /text command
/endpara
/para \sa150
The /text command has the following syntax:
/endpara
/para \sa150
/text \b,/text
/link TEXT_FORMAT_STRINGS,text format commmands
/text \b,, the text \line
or \line
/text \b,\{
/link TEXT_FORMAT_STRINGS,text format commands
/text \b, the text \}
/endpara
/para \sa150
In the first syntax the format properties will be applied to
the text found between the comma (,) and the end of the line
which contains the /text command.
/endpara
/para \sa150
In the second syntax the text format commands come first, then
the text {\b NO} comma in between. The second syntax can be
used anywhere in the text string. That is to say that it can
be used in the middle of a text string {\b\{ \\b for bold text\}}
ya see!
/endpara
/endtopic
//
// text format strings
//
/topic TEXT_FORMAT_STRINGS,WIN31
/title Text format strings
/keywords /text;format strings
/para \sa300,\b\i\fs40,
Text format strings
/endpara
/para \sa150
Following are strings that you can add to the /text
command to cause the string printed by the text command
to take on special properties.
The output of these effects will depend on the font
in use. Since these are really RTF commands you can put
any RTF text formatting command into this position. These
are the most common:
/endpara
/para
/link TEXT_FORMAT_EXAMPLES,Examples \line
\\tab \tab = \tab tab character \line
\\b \tab = \tab bold text \line
\\i \tab = \tab italic text \line
\\strike \tab = \tab strikethru text \line
\\f000 \tab = \tab
/link FONTS >second,font number
where 000 is the font of choice. \line
\\fs000 \tab = \tab font size in half points where 000 is the size.\line
\\ul \tab = \tab underline text \line
\\cf0 \tab = \tab
/link FOREGROUND_COLORS >second,foreground color value
where 0 is the color number of choice. \line
/endpara
/endtopic
//
// text format examples
//
/topic TEXT_FORMAT_EXAMPLES
/para \sa150
The following are examples of different text formatting
commands that you can use. It is important to note that
the help compiler uses certain sequences of commands to
signal links,popups etc. Results of using these commands
on text will be unpredictable if you use a sequence that
help has defined for its own use. This should be a very
rare case. Consult your help compiler manual to understand
the sequences used by the help engine.
/endpara
/para
Input: /text \\b, This is bold text \line
Output:
/text \b,This is bold text \line\line
Input: /text \\i, This is italic text \line
Output:
/text \i,This is italic text \line\line
Input: /text \\strike,This is strikethrough text \line
Output:
/text \strike,This is strikethrough text \line\line
Input: /text \\fs50,This is font size 50 text \line
Output:
/text \fs50,This is font size 50 text \line\line
Input: /text \\ul,This is underlined text \line
Output:
/text \ul,This is underlined text \line\line
/link FONTS,Press here if you want to see the fonts \line
/link FOREGROUND_COLORS,Press here to see the foreground colors \line
/endpara
/endtopic
/include fonts.qdh
/include tabs.qdh
/include colors.qdh